package roulettep

type RouletteRoundEntity struct {
	Rid         int64  `db:"rid"`
	InstId      int64  `db:"instid"`
	Start       int64  `db:"start"`
	End         int64  `db:"end"`
	Sseed       string `db:"sseed"`
	Sseed256    string `db:"sseed256"`
	Clientseeds []byte `db:"clientseeds"`
	H512        string `db:"h512"`
	RetNum      string `db:"num"`
	RetColor    string `db:"color"`
	RetGrp      string `db:"grp"`
	Status      int32  `db:"status"`
	Count       int64  `db:"count"`
	Op          int32  `db:"op"`
	Created     int64  `db:"created"`
	Updated     int64  `db:"updated"`
}

type RouNodeRoundEntity struct {
	NodeId   int64  `db:"nodeid"`
	InstId   int64  `db:"instid"`
	RoundId  int64  `db:"roundid"`
	Status   int32  `db:"status"`
	Result   string `db:"result"`
	Dateline int64  `db:"dateline"`
}
